package cn.hxlc.tie.demo.modular.zr.equipmentzr.model.result;/*
 @author rui
 @date 2021/6/28 --18:48
*/

import cn.hxlc.tie.demo.core.enums.DeptEnum;
import cn.hxlc.tie.demo.core.enums.LevelEnum;
import cn.hxlc.tie.demo.core.enums.StatusEnum;
import cn.hxlc.tie.demo.core.enums.TypeEnum;
import cn.hxlc.tie.libs.scanner.stereotype.EntityResource;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel
@EntityResource(entityName="设备",enableTagPrint = true)
public class EquipmentResult implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("")
    private Long fid;

    @ApiModelProperty("名称")
    private String fname;

    @ApiModelProperty("编码")
    private String fnumber;

    @ApiModelProperty("状态")
    @JSONField(serialzeFeatures = SerializerFeature.WriteEnumUsingToString)
    private StatusEnum fstatus;

    @ApiModelProperty("FCREATORID")
    private Long fcreatorid;
    @ApiModelProperty("FSIMPLENAME")
    private String fsimplename;
    @ApiModelProperty("创建时间")
    private Date fcreatetime;

    @ApiModelProperty("识别码 用于系统对接存储第三方识别码")
    private String foid;

    @ApiModelProperty("FGROUPID")
    private Long  fgroupid;

    @ApiModelProperty("FISAVOIDCHECK")
    private String fisavoidcheck;

    @ApiModelProperty("FTYPE")
    private String ftype;

    @ApiModelProperty("FUSELOT")
    private int fuselot;

    @ApiModelProperty("FMODEL")
    private String fmodel;

    @ApiModelProperty("助记码")
    private String fmnemoniccode;

    @ApiModelProperty("是否关键设备")
    private int fiskey;

    @ApiModelProperty("生产厂家")
    private String fmanufacturer;

    @ApiModelProperty("是否主设备")
    private int fismain;

    @ApiModelProperty("关联主设备")
    private int fmainequipmentid;
    @ApiModelProperty("车间id")
    private Long ffactoryid;

    @ApiModelProperty("FLEVEL")
    private LevelEnum flevel;

    @ApiModelProperty("FOUTDATE")
    private Date foutdate;

    @ApiModelProperty("FBUYDATE")
    private Date fbuydate;

    @ApiModelProperty("FOUTNUMBER")
    private Date foutnumber;

    @ApiModelProperty("FPOWER")
    private Long fpower;

    @ApiModelProperty("FRUNSTATE")
    private DeptEnum frunstate;

    @ApiModelProperty("FCOLLECTDATA")
    private int fcollectdata;

    @ApiModelProperty("FCHECKINDATE")
    private Date fcheckindate;

    @ApiModelProperty("FUSERADDRESS")
    private String fuseraddress;

    @ApiModelProperty("FTONNAGE")
    private Double ftonnage;

    @ApiModelProperty("FMATERIALID")
    private int fmaterialid;

    @ApiModelProperty("FREMARK")
    private String fremark;

    @ApiModelProperty("FFSCTORYNAME")
    private String ffactoryname;

    @ApiModelProperty("物料名称")
    private String fmaterialname;

    @ApiModelProperty("车间名称")
    private String fdeptname;

    @ApiModelProperty("主设备名称")
    private String fmainequipmentname;
}
